package com.example.jurisdiction.Mapper;

import entity.jurisdiction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface jurisdictionMapper {
	
	public int addjurisdiction(jurisdiction j) throws Exception;
	public int updatejurisdiction(jurisdiction j) throws Exception;
	public int deljurisdiction(int id) throws Exception;
	public String getName(int id) throws Exception;
	public jurisdiction getjurisdiction(int id) throws Exception;
	
	public List<jurisdiction> select()throws Exception;
}
